package cn.pconline.autoclub.util;

import java.util.HashMap;
import java.util.Map;

import org.apache.commons.lang.StringUtils;

/**
 * 品牌ID相对应的品牌小图标
 * @author zhouruxuan
 * @date 2015年4月23日 下午5:22:13
 */
public class BrandIdUrlMap {

	public static Map<Integer, String> brandIdUrlMap() {
		Map<Integer, String> map = new HashMap<Integer, String>();
		map.put(1,"http://img2.pcauto.com.cn/pcauto/1011/29/1328170_audi.png");
		map.put(2,"http://img3.pcauto.com.cn/pcauto/1011/29/1328238_dz.png");
		map.put(3,"http://img2.pcauto.com.cn/pcauto/1011/29/1328172_honda.png");
		map.put(4,"http://img2.pcauto.com.cn/pcauto/1011/29/1328175_mercedesbenz.png");
		map.put(6,"http://img2.pcauto.com.cn/pcauto/1011/29/1328172_citroen.png");
		map.put(7,"http://img0.pcauto.com.cn/pcauto/1105/27/1511925_buick5050.png");
		map.put(8,"http://img2.pcauto.com.cn/pcauto/1011/29/1328172_haima.png");
		map.put(9,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1501/11/c2/1756499_1420983153967_50x50.png");
		map.put(10,"http://img2.pcauto.com.cn/pcauto/1011/29/1328156_toyota.png");
		map.put(12,"http://img2.pcauto.com.cn/pcauto/1011/29/1328175_kia.png");
		map.put(13,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1404/22/c7/33423866_1398137183495_50x50.png");
		map.put(14,"");
		map.put(15,"http://img2.pcauto.com.cn/pcauto/1011/29/1328175_nissan.png");
		map.put(16,"http://img2.pcauto.com.cn/pcauto/1011/29/1328156_dongnan.png");
		map.put(17,"http://img2.pcauto.com.cn/pcauto/1011/29/1328175_mazida.png");
		map.put(18,"http://img2.pcauto.com.cn/pcauto/1011/29/1328212_Fiat.png");
		map.put(20,"http://img3.pcauto.com.cn/pcauto/1011/29/1328238_bmw_1.png");
		map.put(21,"http://img2.pcauto.com.cn/pcauto/1011/29/1328172_ford.png");
		map.put(22,"http://img3.pcauto.com.cn/pcauto/1011/29/1328009_ob.png");
		map.put(23,"http://img3.pcauto.com.cn/pcauto/1011/29/1328198_sb.png");
		map.put(24,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1411/24/c0/41232969_1416797862688_50x50.png");
		map.put(26,"http://img0.pcauto.com.cn/pcauto/1212/26/2287606_jiebao5050PNG.png");
		map.put(28,"http://img3.pcauto.com.cn/pcauto/1011/29/1328198_ygnd.png");
		map.put(29,"http://img3.pcauto.com.cn/pcauto/1011/29/1328009_lh.png");
		map.put(30,"http://img0.pcauto.com.cn/pcauto/1305/22/2511109_leikesasi50501png.png");
		map.put(32,"http://img2.pcauto.com.cn/pcauto/1011/29/1328156_sanlin.png");
		map.put(34,"http://img0.pcauto.com.cn/pcauto/1202/08/1807150_xiandai5050.png");
		map.put(35,"http://img.pconline.com.cn/images/auto2/200612/11/1165825648460.gif");
		map.put(38,"http://img2.pcauto.com.cn/pcauto/1011/29/1328156_jeep.png");
		map.put(39,"http://img0.pcauto.com.cn/pcauto/1205/30/1964628_Chrysler5050png.png");
		map.put(40,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1504/15/c9/5433353_1429070004497_50x50.png");
		map.put(41,"http://img2.pcauto.com.cn/pcauto/1011/29/1328175_peugeot.png");
		map.put(44,"http://img3.pcauto.com.cn/pcauto/1011/29/1328198_posche.png");
		map.put(45,"http://img0.pcauto.com.cn/pcauto/1306/08/2557172_5050.png");
		map.put(46,"http://img2.pcauto.com.cn/pcauto/1011/29/1328117_lotuscars.png");
		map.put(47,"http://img3.pcauto.com.cn/pcauto/1011/29/1328009_lsls.png");
		map.put(48,"http://img.pconline.com.cn/images/auto2/200612/11/1165828024880.gif");
		map.put(49,"http://img2.pcauto.com.cn/pcauto/1011/29/1328212_Subaru.png");
		map.put(51,"http://img2.pcauto.com.cn/pcauto/1010/18/1287817_chevrolet.jpg");
		map.put(53,"http://img3.pcauto.com.cn/pcauto/1011/29/1328198_sl.png");
		map.put(57,"http://img0.pcauto.com.cn/pcauto/1304/17/2448379_chery5050png.png");
		map.put(58,"http://img0.pcauto.com.cn/pcauto/1311/28/3495804_liebao50x50.png");
		map.put(59,"http://img2.pcauto.com.cn/pcauto/1011/29/1328184_hanma.png");
		map.put(60,"http://img3.pcauto.com.cn/pcauto/1011/29/1328198_romio.png");
		map.put(61,"http://img3.pcauto.com.cn/pcauto/1011/29/1328009_farari.png");
		map.put(62,"http://img3.pcauto.com.cn/pcauto/1011/29/1328009_aston.png");
		map.put(63,"http://img2.pcauto.com.cn/pcauto/1011/29/1328117_bujiadi.png");
		map.put(64,"http://img3.pcauto.com.cn/pcauto/1011/29/1328009_lbjn.png");
		map.put(66,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1412/08/c0/361222_1418009850544_50x50.png");
		map.put(69,"http://img0.pcauto.com.cn/pcauto/1206/11/1981237_skoda5050png.png");
		map.put(70,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1504/20/c49/5695287_1429519461863_50x50.png");
		map.put(72,"http://img0.pcauto.com.cn/pcauto/1303/20/2402097_daoqi5050PNG.png");
		map.put(73,"http://img2.pcauto.com.cn/pcauto/1011/29/1328175_suzuki.png");
		map.put(74,"http://img.pconline.com.cn/images/auto2/200612/11/1165828108622.gif");
		map.put(75,"http://img2.pcauto.com.cn/pcauto/1011/29/1328184_changhe.png");
		map.put(78,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1504/03/c20/4855120_1428042485574_50x50.png");
		map.put(81,"http://img2.pcauto.com.cn/pcauto/1011/29/1328212_hapu.png");
		map.put(82,"http://img2.pcauto.com.cn/pcauto/1011/29/1328156_hafei.png");
		map.put(83,"http://img2.pcauto.com.cn/pcauto/1011/29/1328175_jinbei.png");
		map.put(101,"http://imgup2.pcauto.com.cn:8001/vp20/pcauto/1012/17/1346564_yusheng.png");
		map.put(102,"");
		map.put(103,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1501/11/c2/1756391_1420982754709_50x50.png");
		map.put(104,"http://img2.pcauto.com.cn/pcauto/1011/29/1328212_zhonghua.png");
		map.put(105,"");
		map.put(107,"http://img2.pcauto.com.cn/pcauto/1011/29/1328172_byd.png");
		map.put(110,"http://img2.pcauto.com.cn/pcauto/1011/29/1328172_changcheng.png");
		map.put(111,"http://img2.pcauto.com.cn/pcauto/1011/29/1328212_dongfeng.png");
		map.put(114,"http://img0.pcauto.com.cn/pcauto/1309/29/3150786_50x50.png");
		map.put(115,"http://img2.pcauto.com.cn/pcauto/1011/29/1328212_hatai.png");
		map.put(116,"http://img3.pcauto.com.cn/pcauto/1011/29/1328009_fudi.png");
		map.put(117,"");
		map.put(118,"http://img2.pcauto.com.cn/pcauto/1011/29/1328212_wulin.png");
		map.put(119,"http://img2.pcauto.com.cn/pcauto/1011/29/1328212_shuanghuan.png");
		map.put(120,"http://img2.pcauto.com.cn/pcauto/1011/29/1328212_heibao.png");
		map.put(121,"http://img2.pcauto.com.cn/pcauto/1010/19/1288956_qingling.jpg");
		map.put(122,"http://img2.pcauto.com.cn/pcauto/1011/29/1328156_beiqi.png");
		map.put(123,"");
		map.put(124,"http://img0.pcauto.com.cn/pcauto/1202/17/1820082_changanPng5050.png");
		map.put(125,"http://img2.pcauto.com.cn/pcauto/1011/29/1328156_zhongxing.png");
		map.put(127,"");
		map.put(129,"");
		map.put(130,"");
		map.put(131,"http://img2.pcauto.com.cn/pcauto/1011/29/1328212_Toyota.png");
		map.put(132,"http://img2.pcauto.com.cn/pcauto/1011/29/1328157_yiweike.png");
		map.put(133,"http://img2.pcauto.com.cn/pcauto/1011/29/1328228_huanghai.png");
		map.put(136,"http://img.pconline.com.cn/images/auto2/2005/1/18/1/1/133/6/217/132/1106038413699.gif");
		map.put(139,"http://img2.pcauto.com.cn/pcauto/1011/29/1328212_huizhong.png");
		map.put(140,"http://img3.pcauto.com.cn/pcauto/1011/29/1328009_og.png");
		map.put(141,"");
		map.put(146,"");
		map.put(148,"");
		map.put(149,"http://img2.pcauto.com.cn/pcauto/1011/29/1328212_nanqi.png");
		map.put(150,"");
		map.put(154,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1501/11/c2/1756493_1420983050588_50x50.png");
		map.put(155,"http://img.pconline.com.cn/images/auto2/200612/11/1165826457155.gif");
		map.put(175,"");
		map.put(185,"http://img2.pcauto.com.cn/pcauto/1011/29/1328157_jiangnan.png");
		map.put(195,"http://img0.pcauto.com.cn/pcauto/1106/03/1520427_pingpaiJA.png");
		map.put(205,"http://img3.pcauto.com.cn/pcauto/1011/29/1328218_mini.png");
		map.put(206,"");
		map.put(215,"");
		map.put(225,"http://img0.pcauto.com.cn/pcauto/1402/18/3900743_xuefolan-50x50.png");
		map.put(235,"http://img2.pcauto.com.cn/pcauto/1011/29/1328184_dadi.png");
		map.put(245,"http://img2.pcauto.com.cn/pcauto/1010/19/1288906_yiqi.jpg");
		map.put(265,"http://img2.pcauto.com.cn/pcauto/1011/29/1328184_gmc.png");
		map.put(275,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1501/11/c2/1756558_1420983210465_50x50.png");
		map.put(305,"http://img3.pcauto.com.cn/pcauto/1011/29/1328009_lf.png");
		map.put(306,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1501/11/c2/1756580_1420983366135_50x50.png");
		map.put(307,"http://img0.pcauto.com.cn/pcauto/1107/19/1573305_zhongtaipng.png");
		map.put(316,"http://img3.pcauto.com.cn/pcauto/1011/29/1328009_msld.png");
		map.put(325,"http://img3.pcauto.com.cn/pcauto/1011/29/1328198_zs.png");
		map.put(345,"http://img3.pcauto.com.cn/pcauto/1011/29/1328009_MG.png");
		map.put(355,"http://img2.pcauto.com.cn/pcauto/1010/19/1288956_jinlong.jpg");
		map.put(365,"http://img3.pcauto.com.cn/pcauto/1011/29/1328198_rw.png");
		map.put(385,"http://img3.pcauto.com.cn/pcauto/1011/29/1328218_yq.png");
		map.put(387,"http://img3.pcauto.com.cn/pcauto/1011/29/1328009_mbh.png");
		map.put(396,"http://img0.pcauto.com.cn/pcauto/1306/04/2545527_hq5050png.png");
		map.put(426,"http://img2.pcauto.com.cn/pcauto/1010/19/1288906_zhongyu.jpg");
		map.put(506,"http://img2.pcauto.com.cn/pcauto/1010/19/1289002_zhongo.jpg");
		map.put(516,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1411/24/c0/41233596_1416798375523_50x50.png");
		map.put(526,"http://img3.pcauto.com.cn/pcauto/1011/29/1328218_yq.png");
		map.put(536,"http://img3.pcauto.com.cn/pcauto/1011/29/1328218_yq.png");
		map.put(546,"http://img2.pcauto.com.cn/pcauto/1011/29/1328117_spyker.png");
		map.put(566,"");
		map.put(567,"http://img2.pcauto.com.cn/pcauto/1011/29/1328184_guanggang.png");
		map.put(568,"http://img2.pcauto.com.cn/pcauto/1011/29/1328117_jiulong.png");
		map.put(569,"http://img2.pcauto.com.cn/pcauto/1011/29/1328175_lufeng.png");
		map.put(570,"http://img2.pcauto.com.cn/pcauto/1011/29/1328117_koenigseg.png");
		map.put(571,"http://img3.pcauto.com.cn/pcauto/1011/29/1328218_gq_1.png");
		map.put(572,"http://img2.pcauto.com.cn/pcauto/1010/19/1288906_anchi.jpg");
		map.put(573,"http://img3.pcauto.com.cn/pcauto/1011/29/1328218_pjn.png");
		map.put(574,"http://img3.pcauto.com.cn/pcauto/1011/29/1328218_rossion.png");
		map.put(575,"http://img2.pcauto.com.cn/pcauto/1011/29/1328228_Imperial.png");
		map.put(576,"http://img2.pcauto.com.cn/pcauto/1011/29/1328117_quanqiuying.png");
		map.put(577,"http://img0.pcauto.com.cn/pcauto/1107/29/1585774_YL5050png.png");
		map.put(578,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1405/22/c7/34510024_1400743979201_50x50.png");
		map.put(579,"http://img2.pcauto.com.cn/pcauto/1011/29/1328117_weilin.png");
		map.put(580,"http://img2.pcauto.com.cn/pcauto/1011/29/1328117_seolin.png");
		map.put(581,"http://img0.pcauto.com.cn/pcauto/1211/09/2209187_50-50.png");
		map.put(582,"http://img3.pcauto.com.cn/pcauto/1011/29/1328218_baojun.png");
		map.put(583,"http://img2.pcauto.com.cn/pcauto/1101/11/1368638_hmzz.png");
		map.put(593,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1504/08/c17/5104570_1428473929232_50x50.png");
		map.put(603,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1407/09/c9/36135630_1404899299415_50x50.png");
		map.put(604,"http://img0.pcauto.com.cn/pcauto/1103/08/1414413_linianlogo.png");
		map.put(613,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1501/14/c1/1859709_1421207351227_50x50.png");
		map.put(623,"http://img0.pcauto.com.cn/pcauto/1104/12/1452560_nazhijie.png");
		map.put(633,"http://img0.pcauto.com.cn/pcauto/1105/24/1508050_qichen5050.png");
		map.put(643,"http://img0.pcauto.com.cn/pcauto/1106/14/1531575_weiwang.png");
		map.put(653,"http://img0.pcauto.com.cn/pcauto/1111/30/1735232_Lotus5050.png");
		map.put(663,"http://img0.pcauto.com.cn/pcauto/1106/13/1528840_5050.png");
		map.put(673,"http://img0.pcauto.com.cn/pcauto/1403/18/4065820_shangqidatong_50x50.png");
		map.put(683,"http://img0.pcauto.com.cn/pcauto/1111/21/1721578_px.png");
		map.put(693,"http://img0.pcauto.com.cn/pcauto/1112/07/1743776_ACS5050.png");
		map.put(703,"http://img0.pcauto.com.cn/pcauto/1206/08/1978750_Oley5050png.png");
		map.put(704,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1501/11/c2/1756435_1420982831907_50x50.png");
		map.put(713,"http://img0.pcauto.com.cn/pcauto/1203/09/1848901_EQUUS5050png.png");
		map.put(714,"http://img0.pcauto.com.cn/pcauto/1203/09/1849119_ROHENS5050png.png");
		map.put(715,"http://img0.pcauto.com.cn/pcauto/1203/09/1849185_McLaren5050png.png");
		map.put(723,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1501/11/c2/1756576_1420983270530_50x50.png");
		map.put(733,"http://img0.pcauto.com.cn/pcauto/1205/08/1931093_SM5050png.png");
		map.put(743,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1501/11/c2/1756437_1420982894664_50x50.png");
		map.put(753,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1501/11/c2/1756468_1420982965987_50x50.png");
		map.put(754,"http://img0.pcauto.com.cn/pcauto/1306/06/2551720_DS5050png.png");
		map.put(764,"http://img0.pcauto.com.cn/pcauto/1211/02/2195056_5050.png");
		map.put(774,"http://img0.pcauto.com.cn/pcauto/1211/07/2204692_50501.png");
		map.put(784,"");
		map.put(794,"http://img0.pcauto.com.cn/pcauto/1212/04/2251705_5050.png");
		map.put(804,"");
		map.put(814,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1504/08/c17/5104950_1428474359208_50x50.png");
		map.put(824,"http://img0.pcauto.com.cn/pcauto/1304/12/2441007_guanzhi5050png.png");
		map.put(834,"http://img0.pcauto.com.cn/pcauto/1301/08/2303047_FM-Auto5050png.png");
		map.put(844,"http://img0.pcauto.com.cn/pcauto/1303/14/2391286_18868920_1363146853703_800x600(2).png");
		map.put(845,"http://img0.pcauto.com.cn/pcauto/1304/18/2450111_hafu5050png.png");
		map.put(855,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1407/17/c7/36401995_1405568596593_50x50.png");
		map.put(856,"http://img0.pcauto.com.cn/pcauto/1310/31/3322602_6731798_132038545000_50x50.png");
		map.put(866,"http://img0.pcauto.com.cn/pcauto/1311/08/3375004_5050png.png");
		map.put(876,"http://img0.pcauto.com.cn/pcauto/1311/14/3409341_haige50x50.png");
		map.put(877,"http://img0.pcauto.com.cn/pcauto/1311/25/3478199_dongfengfengdu50x50.png");
		map.put(878,"http://img0.pcauto.com.cn/pcauto/1401/08/3726578_qiteng50x50.png");
		map.put(888,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1404/25/c24/33562776_1398420485439_50x50.png");
		map.put(898,"http://img0.pcauto.com.cn/pcauto/1403/03/3972261_beiqihuansu50x50.png");
		map.put(908,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1403/28/c8/32565976_1396000063148_50x50.png");
		map.put(918,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1404/08/c12/32916426_1396952574726_50x50.png");
		map.put(919,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1405/12/c3/34131341_1399867173726_50x50.png");
		map.put(929,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1405/14/c12/34225261_1400058466902_50x50.png");
		map.put(939,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1405/15/c2/34247002_1400122410288_50x50.png");
		map.put(949,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1405/29/c7/34759039_1401351563110_50x50.png");
		map.put(950,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1405/29/c7/34760353_1401352868968_50x50.jpg");
		map.put(959,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1406/06/c1/34987866_1402019022017_50x50.png");
		map.put(969,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1407/08/c3/36078144_1404786917381_50x50.png");
		map.put(970,"http://img0.pcauto.com.cn/pcauto/1408/30/5053401_lolo.50.50.jpg");
		map.put(980,"http://img0.pcauto.com.cn/pcauto/1408/30/5053133_sailing.50.50.jpg");
		map.put(990,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1410/14/c0/39629343_1413250061322_50x50.png");
		map.put(991,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1410/17/c1/39771181_1413515882182_50x50.png");
		map.put(1001,"http://img.pconline.com.cn/images/upload/upc/tx/auto5/1411/07/c1/40657097_1415329812390_50x50.png");
		map.put(1011,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1411/24/c0/41244357_1416808944782_50x50.png");
		map.put(1012,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1412/19/c0/845465_1418960197484_50x50.png");
		map.put(1022,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1412/22/c0/960693_1419220171218_50x50.png");
		map.put(1032,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1501/04/c0/1445569_1420338639619_50x50.png");
		map.put(1033,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1503/05/c6/3504185_1425523300886_50x50.png");
		map.put(1043,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1503/05/c22/3522517_1425548851752_50x50.png");
		map.put(1053,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1503/17/c15/3996087_1426576053846_50x50.png");
		map.put(1063,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1503/18/c0/4026560_1426640659983_50x50.png");
		map.put(1064,"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1504/21/c98/5747626_1429614135190_50x50.png");

		return map;
	}
	
	/**
	 * 获取品牌小图标
	 * @param vipInfo
	 * @return
	 */
	public static String getBrandLogo(String vipInfo) {
		String brandLogo = "";
		if(StringUtils.isNotEmpty(vipInfo)) {
			int beginIndex = vipInfo.indexOf(";");
			if(beginIndex > 0) {
				try {
					int brandId = Integer.parseInt(vipInfo.substring(0, beginIndex));
					brandLogo = BrandIdUrlMap.brandIdUrlMap().get(brandId);
				}catch(NumberFormatException exception) {
					exception.printStackTrace();
				}
			}
		}
		
		return brandLogo;
	}
	
}
